package com.czz.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czz.manage.entity.Order;
import com.czz.manage.vo.ChartVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: OrderMapper
 * @Author Czz
 * @Date 2020/2/17
 * @Time 20:15
 **/
@Repository
public interface OrderMapper extends BaseMapper<Order> {
    List<ChartVo> getWeekOrderAdd();
    Integer countSumTeacherMoney(String id);
    List<ChartVo> getTeacherOrderWeek(String id);
    List<ChartVo> getTeacherMoneyWeek(String id);
    List<ChartVo> getAdminOrderDaily(String begin, String end);
    List<ChartVo> getTeacherOrderDaily(String teacherId, String begin, String end);
    List<ChartVo> getTeacherMoneyDaily(String teacherId, String begin, String end);
}
